package me.example.web.controller;

import io.swagger.annotations.ApiOperation;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;
import org.springframework.web.bind.annotation.RestController;
import springfox.documentation.annotations.ApiIgnore;

import java.util.Date;

/**
 * Created by junli on 2017/8/22.
 */
@RestController
@ApiIgnore
public class IndexController {

    @ApiOperation(value = "测试依赖")
    @RequestMapping(value = "/", method = RequestMethod.GET)
    public String index() {
        String res = "Welcome to ezjs core application!";
        res += "current time: " + new Date();
        return res;
    }

}
